<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en">
<head>
<title>技能组信息添加</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
	content="A short description of this page." />
<link href="#{facesContext.externalContext.requestContextPath}/css/public.css" rel="stylesheet" type="text/css"
	media="screen" />
<link href="#{facesContext.externalContext.requestContextPath}/css/main.css" rel="stylesheet" type="text/css"
	media="screen" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- rich:message style-->
<style type="text/css">
	.rich-message-label{
		color:red;
	}
</style>
</head>
<body style="background-color: #ffffff">
<h:form>
	<div id="right">
	<div id="msgid" class="error pt10p bcf c0 tal" style="display:">
		<a4j:outputPanel  id="msgPaneladd">
		<center>
			<h:outputText styleClass="cff" value="#{SkillGroupsBB.msg}" />
		</center>
	</a4j:outputPanel>
	</div>
	<div class="tablelist">
	<table width="100%" border="1" cellpadding="0" cellspacing="0"
		bordercolor="#c3c3c3" style="border-collapse: collapse" align="left">
		<tr>
			<td align="left">
			<span class="cff">*</span>技能组名称
			<h:inputText id="valNam" class="style_input" value="#{SkillGroupsBB.compar.val_name}" required="true">
				<f:validateLength maximum="50" />
				<rich:ajaxValidator event="onblur"/>
			</h:inputText>
			<span class="cff"> <rich:message for="valNam"
					showSummary="true" showDetail="false" /> </span>
			</td>
			<td align="left">有效起止日期<rich:calendar value="#{SkillGroupsBB.compar.s_time}"
					styleClass="a1input" inputSize="13" datePattern="yyyy,MM,dd"
					id="sTime" required="true"></rich:calendar><span style="color:#FF0000">*</span>
					<span class="cff"> <rich:message for="sTime" showSummary="true" showDetail="false" /> </span></td>
			<td align="left">有效截止日期<rich:calendar value="#{SkillGroupsBB.compar.e_time}"
					styleClass="a1input" inputSize="13" datePattern="yyyy,MM,dd"
					id="e_time" required="true"></rich:calendar><span style="color:#FF0000">*</span>
					<span class="cff"> <rich:message for="e_time" showSummary="true" showDetail="false" /> </span></td>
		</tr>
	</table>
	</div>
	<div class="listbut" >
		<h:commandButton styleClass="buttonbg" value="保存" action="#{SkillGroupsBB.addParameter}" reRender="msgPaneladd"/> 
		<h:commandButton styleClass="buttonbg" value="返回" action="#{SkillGroupsBB.toBack}" immediate="true"/>
    </div>
	</div>
</h:form>
</body>
</html>

